﻿package com.obas.integration.element.telnet.type
{
	import com.ease.common.enums.TextualEnum;
	import com.ease.lang.Enum;
	import com.ease.lang.EnumConstants;
	import com.obas.integration.element.telnet.type.ZTEMacAddressType;
	import com.obas.type.MacAddressType;

	[Bindable]
	[RemoteClass(alias="com.obas.integration.element.telnet.type.ZTEMacAddressType")]

	public class ZTEMacAddressType extends Enum
	{
		/* static init */
		{ initEnum(ZTEMacAddressType); }

		/* Constants */
		public static const DYNAMIC:ZTEMacAddressType = new ZTEMacAddressType("DYNAMIC", "Dynamic", com.obas.type.MacAddressType.DYNAMIC);

		private var _text:String;
		private var _macAddressType:com.obas.type.MacAddressType;

		public function ZTEMacAddressType(name:String=null ,text:String=null ,macAddressType:com.obas.type.MacAddressType=null) {
			super.name = name;
			this._text = text;
			this._macAddressType = macAddressType;
		}

		public function get text():String  { return this._text; }
		public function get macAddressType():com.obas.type.MacAddressType  { return this._macAddressType; }

		/* constant query */
		public static function getEnumConstants():Array {
			return Enum.getEnumConstants(ZTEMacAddressType);
		}

		public static function get(constantName:String, caseSensitive:Boolean = false):ZTEMacAddressType {
			return ZTEMacAddressType(Enum.get(ZTEMacAddressType, constantName, caseSensitive));
		}
	}
}